package com.robotserver.orders;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.annotation.EnableScheduling;

@EnableConfigurationProperties
@SpringBootApplication
@EnableScheduling
@ServletComponentScan
@EnableAsync
public class OrdersApplication {

    private static Logger logger = LoggerFactory.getLogger(OrdersApplication.class);


    public static void main(String[] args) {
        SpringApplication.run(OrdersApplication.class, args);
        logger.info("orders start success.");
    }

}
